package com.unittec.zk.provider.auth.dto;

import java.io.Serializable;
import java.util.List;

import com.unittec.zk.provider.auth.entity.SysDepart;
import com.unittec.zk.provider.auth.entity.SysRole;
import com.unittec.zk.provider.auth.entity.SysUser;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author chengjie
 * @description 用户信息
 * @date 2019/10/16
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class UserInfo extends SysUser implements Serializable {

    private static final long serialVersionUID = -2880529361369266367L;

    private List<SysRole> roleList;

    private List<SysDepart> departList;

    private String roleId;
    private String roleName;
    private String roleCode;
    private String departId;
    private String departName;

}
